package veilingService;

import java.util.ArrayList;

import veilingDomein.Blocked;
import veilingDomein.Krediet;
import veilingDomein.User;

public interface IUserService {

	public User getUser(String username);

	public User getUserByID(int id);

	public void createUser(User user) throws Exception;

	public ArrayList<User> getUsers();

	public void BlokkeerUser(User user, String totDatum, String reden);

	public Blocked isBlocked(String username);

	public int getAantalGebruikers();

	public int getNewBlokkeerId();

	public void updateUser(User user);

	public int getAantalGekochteCredits(int userid);

	public Krediet getKrediet(User user);

	public void updateKrediet(Krediet k, User s);

	public void voegKredietToe(User user, int aantal);

	public int getAantalGeblokeerdeGebruikers();

	public int getUserId();
}
